/*******************************************************************************
*  file    : testdataplugin.hpp
*  created : 07.07.2012
*  author  : Slyshyk Oleksiy (alex312@meta.ua)
*******************************************************************************/

#ifndef TESTDATAPLUGIN_HPP
#define TESTDATAPLUGIN_HPP

#include <QObject>
#include <QtPlugin>
#include <interfaces.hpp>


class TestDataPlugin : public QObject, public DataInterface
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "tmx.com.ua.dsp.lab.DataInterface" FILE "testdataplugin.json")
    Q_INTERFACES(DataInterface)
public:
    QString name() const;
    double  sampleRate() const;
    QVector<std::complex<double> > getData();
};

#endif // TESTDATAPLUGIN_HPP
